home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / Fashion_Recall.swf / scripts / DefineButton2_363 / BUTTONCONDACTION on(release, releaseOutside).as < prev    next >
Text File  |  2011-10-17  |  385b  |  16 lines

  1. on(release, releaseOutside){
  2.    if(_currentframe != 4)
  3.    {
  4.       gotoAndStop(4);
  5.       stopDrag();
  6.       _parent.dragitems._x = _parent.stx;
  7.       _parent.dragitems._y = _parent.sty;
  8.       if(_parent.dtop.currentframe != 1)
  9.       {
  10.          _parent[_parent.itemname].gotoAndStop(1);
  11.       }
  12.       _parent.dtop.gotoAndStop(_name);
  13.       _parent.itemname = _name;
  14.    }
  15. }
  16.